package com.kun.util;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.HashMap;
import java.util.Map;

/**
 * @className: R
 * @description: 统一返回结果的类
 * @author: liusCoding
 * @create: 2020-05-02 09:37
 */


@Data
@Accessors(chain = true)
public class R {

    private Boolean success;

    private Integer code;

    private String message;

    private Map<String, Object> data = new HashMap<>();


}
